package fudan.se.project.controller.response;


import fudan.se.project.repository.projection.InvitationProjection;
import lombok.AllArgsConstructor;
import lombok.Setter;

import java.util.List;

@Setter
@AllArgsConstructor
public class InvitationsGetResponse extends BaseResponse {

    private int totalPage;

    private List<InvitationProjection> invitations;


    public int getTotalPage() {
        return totalPage;
    }

    public List<InvitationProjection> getInvitations() {
        return invitations;
    }
}
